package com.liurong.quartz.job;

import java.util.Date;

import org.springframework.stereotype.Component;

import com.liurong.quartz.util.JobDetailWork;
import com.liurong.quartz.util.annotation.Cron;
import com.liurong.quartz.util.annotation.JobBaseConfig;

@Component
@JobBaseConfig(isDistribute = true, isHandStart = true, remark = "第一个定时任务")
public class QuartzJob12 implements JobDetailWork {

	@Cron(value = "${job1}")
	public void work() {
		System.out.println("Quartz的任务调度！！！" + (new Date()).toString());
	}

}
